<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<!doctype html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<base href="<%=basePath%>">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<title>修改供应商信息</title>
		<link href="css/css-main.css" rel="stylesheet" type="text/css" />
		<link href="css/main.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet"
			href="css/validation/validationEngine.jquery.css" type="text/css" />
		<link rel="stylesheet" href="css/validation/template.css"
			type="text/css" />
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script src="js/validation/languages/jquery.validationEngine-zh_CN.js"></script>
		<script src="js/validation/jquery.validationEngine.js"></script>
		<script type="text/javascript" src="js/msgbox/msgbox.js"></script>
		<script>
	jQuery(document).ready(function() {
		// binds form submission and fields to the validation engine
			jQuery("#formId").validationEngine( {
				promptPosition : "centerRight"
			});
		});
	
	function cancel() {
		parentDialog.close();
	}

	onload = function(){
		$("#consumablesName").focus();
	};
</script>
	</head>
	<body>
	<form id="formId" method="post" action="cms/supplier/doAdd.do" target="hid">
		<div class="tableall">
			<!--//导航位置层-->
			<div class="cont_right_cont">
				<div>
				</div>
				<fieldset>
					<legend>
						增加供应商信息
					</legend>
					<div>
						<table width="100%" border="0" align="center" cellspacing="0"
							cellpadding="0">
							<tr>
								<td nowrap width="20%" align="right">
									供应商名称：
								</td>
								<td nowrap width="30%">
									<span style="padding: 0px"> <!--  <input name="supplierInfo.supplierName" type="text" class="data-searchtxt-runtime validate[required,maxSize[20] custom[chAndEnChar]] text-input"id="orderByName" size="20" />
                --> <input name="supplierInfo.supplierName" type="text"
											class="data-searchtxt-runtime validate[required,maxSize[20] custom[chAndEnChar]] text-input" size="20" />
										<font color="red">*</font> </span>
								</td>

							</tr>
							<tr>
								<td nowrap align="right">
									联系人：
								</td>
								<td nowrap>
									<span style="padding: 0px">
									<input name="supplierInfo.contactName" type="text"
											class="data-searchtxt-runtime validate[required,maxSize[20] custom[chAndEnChar]]" id="orderByDiscount" /> <font
										color="red">*</font> </span>
								</td>
							</tr>
							<tr>
								<td nowrap align="right">
									联系电话：
								</td>
								<td nowrap>
									<span style="padding: 0px"> <input
											name="supplierInfo.contactTel" type="text"
											class="data-searchtxt-runtime validate[required,maxSize[20],custom[phone]]" id="orderByDiscount" /> <font
										color="red">*</font> </span>
								</td>
							</tr>
							<tr>
								<td nowrap align="right">
									地址：
								</td>
								<td nowrap>
									<span style="padding: 0px">
									<input
											name="supplierInfo.supplierAddr" type="text"
											class="data-searchtxt-runtime validate[required,maxSize[20],custom[chAndEnChar]]" id="orderByDiscount" /> <font
										color="red">*</font> </span>
								</td>
							</tr>
							<tr>
								<td nowrap align="right">
									供应商邮箱：
								</td>
								<td nowrap>
									<span style="padding: 0px"> <input
											name="supplierInfo.supplierEmail" type="text"
											class="data-searchtxt-runtime validate[maxSize[20],custom[email]]" id="orderByDiscount" />
											</span>
								</td>
							</tr>

							<tr>
								<td nowrap colspan="2" align="center">
									<input name="submit" type="submit" class="btn-Yes" id="submit"
										value="确定">
									<input name="reset" type="reset" class="btn-Yes" id="reset"
										value="重置">
									<input name="button2" type="button" class="btn-Yes"
										id="button2" value="取 消" onclick="cancel();" />
								</td>
							</tr>
						</table>
					</div>
				</fieldset>
			</div>

		</div>
	</form>
	
	<!--隐藏域 Start -->
		<div style="display:none">
			<iframe name="hid" id="hid" src="" height="1px"></iframe>
		</div>
		<!--隐藏域 End   -->
	</body>
</html>
